﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RTW.OA.Models
{
    public class TreeViewNode
    {
        public string text { get; set; }
        public string id { get; set; }
        public string tags { get; set; }
        public string icon { get; set; }
        public State state { get; set; }
        public List<TreeViewNode> nodes { get; set; }
    }

    public class State
    {
        public bool @checked{ get; set; }
       public bool disabled { get; set; }
        public bool expanded { get; set; }
        public bool selected { get; set; }
        
    }

    public class  ZTreeNode
    {
        public string id { get; set; }
        public string name { get; set; }
        public bool nocheck { get; set; }
        public string pId { get; set; }
        public string target { get; set; }
        public string url { get; set; }
        public string icon { get; set; }
        public string iconClose { get; set; }
        public string iconOpen { get; set; }
        public string iconSkin { get; set; }
        public Boolean @checked { get; set; }
        public Boolean isParent { get; set; }
        public Boolean open { get; set; }
        public List<ZTreeNode> children;
        public Boolean drop { get; set; }
        public string IsProject { get; set; }
        public bool noselect { get; set; }

    }
}